//
//  TGMActivityIndicatorView.h
//  TravelGuideMdd
//
//  Created by Song Xiaofeng on 13-6-24.
//  Copyright (c) 2013年 mafengwo.com. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TGMActivityIndicatorView : UIView
{
    BOOL _isAnimating;
    
}

@property(nonatomic) BOOL                         hidesWhenStopped;           // default is YES. calls -setHidden when animating gets set to NO

@property (readwrite, nonatomic, strong) UIColor *color;

- (void)startAnimating;
- (void)stopAnimating;
- (BOOL)isAnimating;

+ (TGMActivityIndicatorView*)defaultActivityIndicatorView;

- (void)startLoadingAtFatherView:(UIView *)fatherView;

- (void)stopLoading;





@end
